package com.beverages.orders.client;

import com.beverages.orders.common.Result;
import com.beverages.orders.config.FeignOkHttpConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "merchant-holder-service", url = "${merchant.holder.service.url}", configuration = FeignOkHttpConfig.class)
public interface MerchantHolderClient {
    @GetMapping("/merchant/holder/preset")
    Result presetPreparedOrders();
}
